package com.itdachang.design.behavioral.interpreter;

/**
 * @author gcq
 * @create 2022-02-15
 */
public class MainTest {
    public static void main(String[] args) {
        Area area = new Area();

        /*
          上海市:张文武-医生
          武汉市:雷锋杨-程序员
          北京市:宋宋-老人
         */
        String sr1 = "上海市:张文武-医生";

        String sr2 = "佛山市:雷锋杨-程序员";

        String sr3 = "北京市:宋宋-老人";

//        area.getTicket(sr1);
        area.getTicket(sr2);
//        area.getTicket(sr3);

    }
}